import request from '@/utils/request'

// 查询四害消杀导入明细列表
export function listExterminationImportDetail(query) {
  return request({
    url: '/standingbook/exterminationImportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询四害消杀导入明细详细
export function getExterminationImportDetail(id) {
  return request({
    url: '/standingbook/exterminationImportDetail/' + id,
    method: 'get'
  })
}

// 新增四害消杀导入明细
export function addExterminationImportDetail(data) {
  return request({
    url: '/standingbook/exterminationImportDetail',
    method: 'post',
    data: data
  })
}

// 修改四害消杀导入明细
export function updateExterminationImportDetail(data) {
  return request({
    url: '/standingbook/exterminationImportDetail',
    method: 'put',
    data: data
  })
}

// 删除四害消杀导入明细
export function delExterminationImportDetail(id) {
  return request({
    url: '/standingbook/exterminationImportDetail/' + id,
    method: 'delete'
  })
}
